class HuangLiDayModel {
  bool? success;
  int? code;
  String? message;
  HuangLiDayItemModel? data;

  HuangLiDayModel({this.success, this.code, this.message, this.data});

  HuangLiDayModel.fromJson(Map<String, dynamic> json) {
    success = json['success'];
    code = json['code'];
    message = json['message'];
    data = json['data'] != null ? HuangLiDayItemModel.fromJson(json['data']) : null;
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['success'] = success;
    data['code'] = code;
    data['message'] = message;
    if (this.data != null) {
      data['data'] = this.data!.toJson();
    }
    return data;
  }
}

class HuangLiDayItemModel {
  List<String>? y;
  List<String>? j;
  String? c;
  String? s;
  String? zc;
  String? ts;
  String? zh;
  String? yq;
  String? yj;

  HuangLiDayItemModel(
      {this.y,
        this.j,
        this.c,
        this.s,
        this.zc,
        this.ts,
        this.zh,
        this.yq,
        this.yj});

  HuangLiDayItemModel.fromJson(Map<String, dynamic> json) {
    y = json['y'].cast<String>();
    j = json['j'].cast<String>();
    c = json['c'];
    s = json['s'];
    zc = json['zc'];
    ts = json['ts'];
    zh = json['zh'];
    yq = json['yq'];
    yj = json['yj'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['y'] = y;
    data['j'] = j;
    data['c'] = c;
    data['s'] = s;
    data['zc'] = zc;
    data['ts'] = ts;
    data['zh'] = zh;
    data['yq'] = yq;
    data['yj'] = yj;
    return data;
  }
}
